var t = getApp();

Page({
  data: {
    lat: 23.099994,
    lng: 113.32452,
    sign: !1,
    status: "",
    data: "",
    height: "92vh",
    markers: [{}],
    polyline: [],
    controls: []
  },
  onLoad: function (n) {
    var a = parseFloat(n.lat), i = parseFloat(n.lng), e = this, o = e.data.markers;
    let car = {
      "id": 1,
      "latitude": a,
      "longitude": i,
      "iconPath": "/images/" + t.system.image_prefix + "/position_selected.png",
      "height": 77.33,
      "width": 44.67,
      "anchor": {  "x": 1, "y": 1 }
    }
    o[0] = car
      e.setData({
        markers: o,
        lat: a,
        lng: i
      })
  },
  onReady: function () { },
  onShow: function () { },
  onHide: function () { },
  onUnload: function () { }
});
